.folder-contents {
  .ui.icon.button,
  .ui.icon.button:hover {
    background: transparent !important;
    box-shadow: none;
  }

  .ui.compact.table td {
    padding: 8px;

    .row-actions {
      height: 24px;
      padding-top: 4px;
    }
  }
  // #2818 allow any dropdown to reveal extra menu on hover
  // not just the simple dropdown within /contents area
  .ui.dropdown:hover > .menu > .item:hover > .menu,
  .ui.dropdown > .menu > .item:active > .menu {
    top: 0 !important;
    left: 100% !important;
    display: block;
    overflow: visible;
    width: auto;
    height: auto;
    opacity: 1;
  }

  .ui.dropdown .menu > .item {
    display: flex;
    align-items: center;
  }

  .ui.dropdown > .left.menu .menu {
    margin: 0 !important;
  }

  .ui.menu.top-menu {
    padding: 10px 0;
    border-bottom: 4px solid #c7d5d8;
  }

  .ui.menu .menu.top-menu-menu {
    border-right: 1px solid #b8c6c8;

    .ui.icon.button {
      padding: 10px;
      margin-left: 4px;
      border-radius: 1px;
      color: @brown !important;

      &:hover {
        background-color: #edf1f2 !important;
      }
    }
  }

  .ui.menu .menu.top-menu-searchbox {
    border-left: 1px solid #b8c6c8;

    .ui.button.icon.icon-container {
      padding: 0px;

      &:focus-visible {
        outline: 1px solid #005fcc;
      }
    }
  }

  .ui.secondary.attached.segment.contents-breadcrumbs {
    display: flex;
    justify-content: space-between;

    .ui.dropdown {
      height: 28px;
    }
  }

  .ui.menu .item.upload:hover,
  .ui.menu .item.paste:hover {
    background: none;
  }

  .ui.dropdown .menu > .item.left-dropdown > svg {
    position: relative;
    top: 3px;
  }

  .ui.upward.dropdown > .menu {
    top: 100%;
    bottom: inherit;
  }

  .contents-table-wrapper {
    width: 100%;

    .ui.attached.table {
      width: 100%;
      max-width: 100%;

      border: none;
    }

    .ui.upward.dropdown > .menu {
      top: auto;
      bottom: 100%;
    }
  }

  .ui.table .icon-align,
  .ui.dropdown .menu > .item.icon-align {
    display: flex;
    align-items: center;
    padding-top: 4px;
  }

  .ui.table .icon-align-name {
    display: flex;
    overflow: hidden;
    max-width: 330px;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;

    svg {
      flex-shrink: 0;
      color: @lightGrey;
    }

    span {
      display: block;
      overflow: hidden;
      max-width: 100%;
      text-overflow: ellipsis;
    }
  }

  .ui.table .expire-align {
    display: flex;
    align-items: center;
  }

  .ui.table .icon-margin {
    margin-right: 0.3em;
  }

  .ui.table .button-margin {
    padding: 4px;
    margin-right: 1em;
    background-color: rgb(228, 1, 102);
    color: white;
  }

  @media only screen and (min-width: @largeMonitorBreakpoint) {
    .ui.table.single.line tbody {
      white-space: normal;
      word-break: break-word;
    }
  }
}

.contents-pagination {
  .ui.secondary.menu .item {
    color: #878f93;
  }

  .ui.secondary.menu a.item,
  .ui.secondary.menu a.item.active {
    color: @linkColor;
  }

  .ui.secondary.menu a.item:hover,
  .ui.secondary.menu a.item.active {
    background-color: #edf1f2 !important;
  }
}

#content-core {
  .dragging-cell {
    opacity: 0;
  }

  .dragging-row {
    background: rgba(0, 0, 0, 0.05);
  }
}

.ui.page.modals .content {
  .upload-row {
    white-space: normal;
    word-break: break-all;
  }
}

.contenttype-event {
  h1.documentFirstHeading {
    display: flex;
  }
}

.event-view .download-event {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}
